<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<style>
    .c1{
        width: 100px;
        height: 100px;
        background-color: grey;
    }

</style>
<body>
<div id="box1"></div>
<div id="box2"></div>
<div id="box3"></div>
<p id="text"></p>

<script>
    /*var box1 = document.getElementById("box1");
    box1.setAttribute("class","c1");
    box1.style.backgroundColor="red";
    box1.style.border="10px solid black";
    var t = document.getElementById("text");
    t.innerHTML="标题";*/

    function max(){
        var m = arguments[0];
        for(var i=1;i<arguments.length;i++){
            if(arguments[i-1]<arguments[i]){
                m = arguments[i];
            }
        }
        console.log(m);
    }
    max(100,103,4302,123,13430,132);



</script>
</body>
</html>